FROM jdk

MAINTAINER Eric
ENV LANG en_US.UTF-8

RUN mkdir -p /opt/goods-service/
RUN chmod -R 777 /opt/goods-service/
COPY ./goods-service-0.0.1-SNAPSHOT.jar /opt/goods-service/goods-service-0.0.1-SNAPSHOT.jar
ENTRYPOINT ["java", "-Xms246m", "-Xmx1024m", "-jar", "/opt/goods-service/goods-service-0.0.1-SNAPSHOT.jar"]
EXPOSE 9017
